#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
#include"Stack.h"

void print(int* a, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
}

int main()
{
	int arr[10] = { 5,4,3,2,1,6,7,8,9 ,0};
	//quicksortnor(arr, 0, 9);
	mergesort(arr, 0, 10);
	print(arr, 10);
	return 0;
}